/**
 * IAttachPersistenceService.java 上午10:55:01 2012-5-2
 * Cyber Information Technology Co.,Ltd.
 *   
 *   http://www.citchina.cn
 *   citchina.org@gmail.com
 */
package cn.cit.wcif.attach.api.persistence;

import java.util.List;

/**
 * @author Jonathan
 * @version 1.0
 * 
 */
public interface IAttachPersistenceService {
	IAttachEntity persistAttach(IAttachEntity entity);

	IAttachEntity mergeAttach(IAttachEntity entity);

	IAttachEntity findAttachByID(long id);

	List<IAttachEntity> pageAttaches(int pageSize, int perPage);
}
